<#include "/layout/layout.ftl">
<#import "/layout/macro.ftl" as macro>
<#import "/layout/select.ftl" as my/>
<#assign css>
<#--此ftl中用到的css-->
    <style>
        .col-sm-9{
            padding-top:7px;
        }
    </style>
</#assign>
<#assign js>
<#--此ftl中用到的js-->
<script>
</script>
</#assign>
<@layout title="详情" active="order">
<!-- Content Header (Page header) -->
<section class="content-header">
	<h1>
		<small>订单详细信息</small>
	</h1>
	<ol class="breadcrumb">
		<li><a href="/"><i class="fa fa-home"></i> 管理后台</a></li>
		<li><a href="#"><i class="fa fa-list-ul"></i> 订单管理</a></li>
		<li class="active"><i class="fa fa-edit"></i>详细信息</li>
	</ol>
</section>
<!-- Main content -->
<section class="content">
	<div class="row">
		<div class="col-md-12">
			<!-- Default box -->
			<div class="box  box-primary">
				<form class="form-horizontal form-edit" method="post" action="">
					<div class="box-body">
						<input type="hidden" id="id" name="id" value="${order.id!}">
						<div class="form-group"><label class="col-sm-3 control-label">主键：</label><div class="col-sm-9">${order.id!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">订单号：</label><div class="col-sm-9">${order.orderNo!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">总金额：</label><div class="col-sm-9">${order.amount!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">备注：</label><div class="col-sm-9">${order.remark!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">订单类型：</label><div class="col-sm-9">${convert('SERVICE_CLASS',order.type)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">子类型：</label><div class="col-sm-9">
                            <#if order.type??>
                                <#if order.childType??>
                                    ${convert('SERVICE_CLASS',order.type,order.childType) !}
                                </#if>
                            </#if>
                        </div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">订单状态：</label><div class="col-sm-9">${convert('DATA_STATUS',order.status)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">取货地址：</label><div class="col-sm-9">${order.fromAddressId!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">送货地址：</label><div class="col-sm-9">${order.toAddressId!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">更新时间：</label><div class="col-sm-9">${(order.updateAt?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">创建时间：</label><div class="col-sm-9">${(order.createAt?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">支付时间：</label><div class="col-sm-9">${(order.payAt?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">用户id：</label><div class="col-sm-9">${order.userId!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">删除状态：</label><div class="col-sm-9">${convert('DATA_STATUS',order.deleteState)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">取货送货时间：</label><div class="col-sm-9">${(order.taskTime?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">类型id：</label><div class="col-sm-9">${order.categoryId!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">类型名称：</label><div class="col-sm-9">${order.categoryName!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">重量(公斤)：</label><div class="col-sm-9">${order.weight!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">代收款：</label><div class="col-sm-9">${order.collectionAmount!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">代收款手续费：</label><div class="col-sm-9">${order.collectionFee!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">服务费：</label><div class="col-sm-9">${order.serviceFee!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">保价金额：</label><div class="col-sm-9">${order.insurance!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">保价手续费：</label><div class="col-sm-9">${order.insuranceFee!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">保价赔付金额：</label><div class="col-sm-9">${order.insurancePayment!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">验证码：</label><div class="col-sm-9">${order.verifyCode!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">距离(公里)：</label><div class="col-sm-9">${order.distance!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">优惠券id：</label><div class="col-sm-9">${order.couponId!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">其他费用(如特殊天气)：</label><div class="col-sm-9">${order.otherFee!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">其他费用说明：</label><div class="col-sm-9">${order.otherFeeInstruction!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">支付类型：</label><div class="col-sm-9">${convert('PAY_TYPE',order.payType)!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">预计送达时间：</label><div class="col-sm-9">${order.forecastDeliveryTime!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">实际送达时间：</label><div class="col-sm-9">${order.deliveryTime!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">商品费用（随意购时生效）：</label><div class="col-sm-9">${order.goodsAmount!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">万能帮办图片：</label><div class="col-sm-9">${order.images!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">师傅id：</label><div class="col-sm-9">${order.masterId!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">分站id：</label><div class="col-sm-9">${order.agentId!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">深夜服务费：</label><div class="col-sm-9">${order.nightFee!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">订单唯一码：</label><div class="col-sm-9">${order.outTradeNo!}</div></div>
                        <div class="form-group"><label class="col-sm-3 control-label">支付流水号：</label><div class="col-sm-9">${order.transNo!}</div></div>
					</div>

					<div class="box-footer">
						<button type="button" class="btn btn-default btn-back">返回</button>
					</div>

				</form>
			</div>
			<!-- /.box -->
		</div>
	</div>
</section>
<!-- /.content -->
</@layout>
